package cn.kgc.smbms.service;

import cn.kgc.smbms.pojo.User;
import cn.kgc.smbms.pojo.UserExt;

import java.util.List;

public interface UserService {
    public User login(String userCode,String userPassword);
    public List<User> selectAllUser(int pageNo,int pageSize,String userName,String userRole);
    int selectCount();
    //根据Id查询
    User selectUserById(Long id);
    //根据Id修改
    int modifyUserById(User user);
    //根据id删除
    int deleteUserById(String id);
}
